package org.jypj.dev.model;

import com.google.gson.Gson;

/**
 * 
 * @author chenyu
 */
public class LoginInfo implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	
    private String id; //主键id
    private String userName; //用户名称
    private String userNum; //用户编号
    private String trainNum; //车组号
    private String trainCode; //车次
    private String trainType; //车型
    private String roadName; //交路名称
    private String roadId; //交路ID
    private String loginTime; //登录时间
    private String loginVersion;//登陆版本号
    private String planDate;

    private String picPx;
    private String picSize;
    private int isNewLogin=1;
    public String getId(){
        return this.id;
    }
    
    public void setId(String id){
        this.id = id;
    }
    public String getUserName(){
        return this.userName;
    }
    
    public void setUserName(String userName){
        this.userName = userName;
    }
    public String getUserNum(){
        return this.userNum;
    }
    
    public void setUserNum(String userNum){
        this.userNum = userNum;
    }
    public String getTrainNum(){
        return this.trainNum;
    }
    
    public void setTrainNum(String trainNum){
        this.trainNum = trainNum;
    }
    public String getTrainCode(){
        return this.trainCode;
    }
    
    public void setTrainCode(String trainCode){
        this.trainCode = trainCode;
    }
    public String getTrainType(){
        return this.trainType;
    }
    
    public void setTrainType(String trainType){
        this.trainType = trainType;
    }
    public String getRoadName(){
        return this.roadName;
    }
    
    public void setRoadName(String roadName){
        this.roadName = roadName;
    }
    public String getRoadId(){
        return this.roadId;
    }
    
    public void setRoadId(String roadId){
        this.roadId = roadId;
    }
    public String getLoginTime(){
        return this.loginTime;
    }
    
    public void setLoginTime(String loginTime){
        this.loginTime = loginTime;
    }
    
    public String getPicPx() {
		return picPx;
	}

	public void setPicPx(String picPx) {
		this.picPx = picPx;
	}

	
	public String getPicSize() {
		return picSize;
	}

	public void setPicSize(String picSize) {
		this.picSize = picSize;
	}
	
	public int getIsNewLogin() {
		return isNewLogin;
	}

	public void setIsNewLogin(int isNewLogin) {
		this.isNewLogin = isNewLogin;
	}
	
	public String getLoginVersion() {
		return loginVersion;
	}

	public void setLoginVersion(String loginVersion) {
		this.loginVersion = loginVersion;
	}

    public String getPlanDate() {
        return planDate;
    }

    public void setPlanDate(String planDate) {
        this.planDate = planDate;
    }

    @Override
   	public String toString() {
   		Gson gson =new Gson();
   		return gson.toJson(this);
   	}
}